<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-size: 12px;
            
        }

        .tabs-view-item:first-of-type {
            margin-left: 14px;
        }

        .tabs-view-item {
            display: inline-block;
            position: relative;
            cursor: pointer;
            height: 32px;
            line-height: 32px;
            color: #495060;
            padding: 0 18px;
            font-size: 12px;
            margin-top: 8px;
        }
        
        .tab-bg-wrap {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            display: flex;
            z-index: -1;
        }

        .tab-bg-left {
            flex-basis: 8px;
            background-size: 100% 100%;
            background-image: url(https://iot-static-img.imuyuan.com/iot/images/border/tab-bg-left.png);
        }
        
        .tab-bg-center {
            flex: 1;
            background-image: url(https://iot-static-img.imuyuan.com/iot/images/border/tab-bg-center.png);
            background-size: 100% 100%;
        }

        .tab-bg-right {
            flex-basis: 12px;
            background-image: url(https://iot-static-img.imuyuan.com/iot/images/border/tab-bg-right.png);
            background-size: 100% 100%;
        }
        
        .iconclose {
            margin-left: 4px;
            border-radius: 50%;
            color: #353535;
            vertical-align: text-top;
            scale: 0;
            width: 0;
            top: -6px;
            transition: all .2s linear 0s;
            display: inline-block;
            position: relative;
        }

        .tabs-view-item .iconclose:before {
            display: none;
            position: absolute;
            top: -10px;
            left: -2px;
            font-weight: 400;
        }
        
        .tabs-view-item+.tabs-view-item {
            margin-left: -18px;
        }

        .tabs-view-item:hover .iconclose {
            width: 12px;
            scale: .9;
        }
        
        .active {
            transition: all .2s linear 0s;
            transform-origin: left bottom;
            scale: 1.05;
            z-index: 200!important;
            font-weight: 500;
            color: #2d9aff;
        }

        .tabs-view-item.active .tab-bg-left {
            background-image: url(https://iot-static-img.imuyuan.com/iot/images/border/tab-active-bg-left.png);
        }

        .tabs-view-item.active .tab-bg-center {
            background-image: url(https://iot-static-img.imuyuan.com/iot/images/border/tab-active-bg-center.png);
        }

        .tabs-view-item.active .tab-bg-right {
            background-image: url(https://iot-static-img.imuyuan.com/iot/images/border/tab-active-bg-right.png);
        }

        .tabs-view-item:nth-child(1) {
            z-index: 9;
        }

        .tabs-view-item:nth-child(2) {
            z-index: 8;
        }

        .tabs-view-item:nth-child(3) {
            z-index: 7;
        }

        .tabs-view-item:nth-child(4) {
            z-index: 6;
        }

        .tabs-view-item:nth-child(5) {
            z-index: 5;
        }

    </style>
</head>
<body>
    <div>
        <div class="tabs-view-item">
            <div>
                <div class="tab-bg-wrap">
                    <div class="tab-bg-left"></div>
                    <div class="tab-bg-center"></div>
                    <div class="tab-bg-right"></div>
                </div>
                <span class="router-tab__item-title">应用管理</span><i class="iconclose iconfont">X</i>
            </div>
        </div>
        <div class="tabs-view-item">
            <div>
                <div class="tab-bg-wrap">
                    <div class="tab-bg-left"></div>
                    <div class="tab-bg-center"></div>
                    <div class="tab-bg-right"></div>
                </div>
                <span class="router-tab__item-title">应用管理</span><i class="iconclose iconfont">X</i></div>
        </div>
        <div class="tabs-view-item">
            <div>
                <div class="tab-bg-wrap">
                    <div class="tab-bg-left"></div>
                    <div class="tab-bg-center"></div>
                    <div class="tab-bg-right"></div>
                </div>
                <span class="router-tab__item-title">应用管理</span><i class="iconclose iconfont">X</i></div>
        </div>
        <div class="tabs-view-item">
            <div>
                <div class="tab-bg-wrap">
                    <div class="tab-bg-left"></div>
                    <div class="tab-bg-center"></div>
                    <div class="tab-bg-right"></div>
                </div>
                <span class="router-tab__item-title">应用管理</span><i class="iconclose iconfont">X</i></div>
        </div>
        <div class="tabs-view-item active">
            <div>
                <div class="tab-bg-wrap">
                    <div class="tab-bg-left"></div>
                    <div class="tab-bg-center"></div>
                    <div class="tab-bg-right"></div>
                </div>
                <span class="router-tab__item-title">应用管理</span><i class="iconclose iconfont">X</i></div>
        </div>
        <div class="tabs-view-item">
            <div>
                <div class="tab-bg-wrap">
                    <div class="tab-bg-left"></div>
                    <div class="tab-bg-center"></div>
                    <div class="tab-bg-right"></div>
                </div>
                <span class="router-tab__item-title">应用管理</span><i class="iconclose iconfont">X</i></div>
        </div>
    </div>
</body>

<!-- <script>
    document.querySelectorAll('.card-container .card').forEach(function(card) {
        card.addEventListener('click', function() {
            document.querySelectorAll('.card').forEach(function(c) {
            c.classList.remove('active');
            });
            this.classList.add('active');
        });
    });
</script> -->

</html>